<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>HTML5 Canvas</title>
</head>
<body>
    <canvas id="draw" width="800" height="800"></canvas>

    <style>
        html, body {
            margin:0;
            overflow: hidden; /* 限制画板高度（ height ）过大 */
        }
    </style>

    <script src="./script.js"></script>
</body>
</html>
